package com.xsomnus.rpc.common.common;

/**
 * @author @xsomnus666_xiawenye★
 * @since 2019/4/22 0022 14:25
 * 当你发现自己的才华撑不起野心时，就请安静下来学习吧
 */
public final class Constants {
    /**
     * 检测心跳的默认方法名
     */
    public static final String HEART_BEAT_METHOD = "heartBeat";
    /**
     * 错误代码
     */
    public static final int ERROR_CODE = -1;
    /**
     * 服务在zookeeper注册的默认地址
     */
    public static final String ZK_REGISTRY_PATH = "/rpc";

    /**
     * 默认路径分割符
     */
    public static final char PATH_DELIMETER = '/';

}
